import { ref } from 'vue'
export default () => {
    const username = ref('向军')
    const formatUserName = () => {
        username.value = `来自北京的${username.value}`
    }
    const subUsername = computed(() => {
        return username.value + '####'
    })
    return {
        username,
        formatUserName,
        subUsername
    }
}
